package com.ruicar.afs.cloud.channel.common.mq.sender;

import com.ruicar.afs.cloud.channel.common.mq.dto.ComAttachmentFileDto;
import com.ruicar.afs.cloud.common.mq.rabbit.anno.send.AfsRabbitMqClient;
import com.ruicar.afs.cloud.common.mq.rabbit.anno.send.AfsRabbitMqSender;
import com.ruicar.afs.cloud.common.mq.rabbit.message.AfsTransEntity;

/**
 * @author panhj
 */
@AfsRabbitMqClient
public interface ChannelFileToApplySender {
    /**
     * 提交案件-消息发送
     * 传对象
     *
     * @param afsTransEntity
     */
    @AfsRabbitMqSender(serverAlias = "${com.ruicar.afs.cloud.rabbitQueue.serverAlia}", queueName = "${com.ruicar.afs.cloud.rabbitQueue.queueName.channelToapply}", exchangeName = "${com.ruicar.afs.cloud.rabbitQueue.exchangeName}")
    void pushFileToApply(AfsTransEntity<ComAttachmentFileDto> afsTransEntity);
}
